//import './assets/main.css'

import { createApp } from 'vue'//导入vue
import App from './App.vue'//导入app.vue
import ElementPlus from 'element-plus'//导入element-plus
import 'element-plus/dist/index.css' //导入elementPLus的样式
//导入element-plus的中文包
import locale from 'element-plus/dist/locale/zh-cn.js'
//安装element-plus:
//C:\Users\ASUS\Desktop\BIG_EVENT\前端\big_event\整站使用Vue\learn-element-plus>npm install element-plus --save


//createApp(App).mount('#app')
const app=createApp(App)//创建应用实例
app.use(ElementPlus,{locale})//使用element-plus
app.mount('#app')//控制html元素